#include <stdio.h>




void main()
{
    char ch;
    FILE *fp;
    fp = fopen("newword.txt","w");
    if(fp == NULL)
	printf("file not found.");
    else
	{
	    printf("file opened ok!");
	    fseek(fp,3,SEEK_SET);
	    ch = fgetc(fp);
	    printf("%c",ch);
	    fclose(fp);
	    printf("file is colsed.");
	}
}